import { defineStore  } from 'pinia'
 const  useNumber = defineStore({
    id:'app',
    state:() => {
        return {
            sum:0,
            age:123   
        }   
    },
    getters:{

    },
    actions:{
         getSum(){
            this.sum++ ,
            this.age++
        }
    }
})
export default useNumber